<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    #include("common/header.html")
</head>

<body>
<div style="margin: 15px;">
    <div class="layui-form" id="form">
        <div class="layui-form-item">
            <label class="layui-form-label">封面图片</label>
            <div class="layui-input-block">
                <img id="imgUrl" src="/admin$!info.imgUrl" data-src="$!info.imgUrl" height="200px" width="200px">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-block">
                <label class="layui-form-label">$!info.title</label>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类</label>
            <div class="layui-input-block">
                <label class="layui-form-label">$!info.type</label>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否收费</label>
            <div class="layui-input-block">
                #if($!info.isMoney == 1)
                <label class="layui-form-label">是</label>
                #else
                <label class="layui-form-label">否</label>
                #end
            </div>
        </div>
        #if($!info.isMoney == 1)
        <div class="layui-form-item">
            <label class="layui-form-label">收费金额</label>
            <div class="layui-input-block">
                <label class="layui-form-label">$!info.money 个</label>
            </div>
        </div>
        #end
    </div>
</div>
<script>

    var layer;
    var form;
    layui.use(['layer','form', 'upload'], function () {
        layer = layui.layer;
        form = layui.form()
    });

</script>
</body>

</html>